package com.tarena.lbs.business.servcie.impl;

import com.tarena.lbs.business.dao.mapper.BusinessCategoryMapper;
import com.tarena.lbs.business.pojo.vo.BusinessCategoryVO;
import com.tarena.lbs.business.servcie.BusinessCategoryService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class BusinessCategoryServiceImpl implements BusinessCategoryService {
	
	@Autowired
	private BusinessCategoryMapper businessCategoryMapper;
	
	@Override
	public List<BusinessCategoryVO> queryAllCategories() {
		log.debug(">>>查询所有分类-业务");
		return businessCategoryMapper.selectAll();
	}
	
}
